package com.dfbz.demo02_线程安全测试;


/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo02_字节码对象 {
    public static void main(String[] args) throws ClassNotFoundException {
        Class<String> c1 = String.class;

        String str = new String();
        Class<? extends String> c2 = str.getClass();

        Class<?> c3 = Class.forName("java.lang.String");

        System.out.println(c1 == c2);           // ?
        System.out.println(c1 == c3);           // ?
    }
}
